<%@ include file="/common/taglibs.jsp"%>

<head>
<title><fmt:message key="hospital.birth.list.title" /></title>
<meta name="heading"
	content="<fmt:message key='hospital.birth.list.heading'/>" />
	<meta name="menu" content="AdminMenu" />
</head>

<div class="span12">
	<h2>
		<fmt:message key="hospital.birth.list.heading" />
	</h2>
	<s:hidden key="id" />
<!-- 	<div id="search"> -->
<%-- 		<form method="get" action="${ctx}/zhospitals.action" id="searchForm" --%>
<!-- 			class="form-search"> -->
<%-- 			<input type="text" size="20" name="q" id="query" value="${param.q}" --%>
<!-- 				placeholder="Enter search terms..." -->
<!-- 				class="input-medium search-query" /> <input type="submit" -->
<%-- 				value="<fmt:message key="button.search"/>" class="btn" /> --%>
<!-- 		</form> -->
<!-- 	</div> -->

	<display:table name="birthList" cellspacing="0" cellpadding="0"
		requestURI="" export="false" defaultsort="1" id="births" pagesize="15"
		class="table table-condensed" style="width: 100%">

		<display:column property="motherName" escapeXml="true"
			titleKey="birth.motherName" style="width: 20%"
			url="/viewBirthDetails.action?from=list1" paramId="id"
			paramProperty="id" />

		<display:column property="fatherName" escapeXml="true"
			sortable="false" titleKey="birth.fatherName" style="width: 20%" />
		<display:column property="status" escapeXml="true" sortable="false"
			title="Status" style="width: 10%" />
		<display:column property="sex" sortable="false" titleKey="birth.sex"
			style="width: 10%" autolink="true" media="html" />
		<display:column property="birthDate" sortable="false"
			titleKey="birth.birthDate" style="width: 35%" autolink="true"
			media="html" />

		<display:setProperty name="paging.banner.all_items_found" value="" />
		<display:setProperty name="paging.banner.some_items_found" value="" />

	</display:table>
</div>
